|
|
|
|
|
|
|
Q What is one of the most important sources of information in the creation of the Graphical User Interface Subsystem? |
|
|
|
|
|
|
|
|
A Use cases. Remember that the fundamental requirements for the forms are reflected in the use cases. |
|
|
|
|
|
|
|
|
Q What is the benefit of a FormOperations class? |
|
|
|
|
|
|
|
|
A It processes standard events based on clicking a text, grid, list, or label control. |
|
|
|
|
|
|
|
|
The workshop includes quiz questions to help gauge your grasp of the material. You'll find the answers to this quiz in Appendix A, Answers. Even if you feel that you understand the concepts presented here, you should work through the quiz. The last section contains exercises to help reinforce your learning. |
|
|
|
|
|
|
|
|
1. Describe one way you can design the form to automatically tab to the next data entry field? |
|
|
|
|
|
|
|
|
2. How should you treat calculated fields with regard to user data entry? |
|
|
|
|
|
|
|
|
3. What's the best way to document the steps necessary to start up an application? |
|
|
|
|
|
|
|
|
4. What is the relationship between a GUI control event and a controller class method? |
|
|
|
|
|
|
|
|
5. What is a way to break up a large controller class? |
|
|
|
|
|
|
|
|
6. What two packages should you create in Visual Modeler to help you separate forms from controller classes? |
|
|
|
|
|
|
|
|
7. What's the purpose of the Facade pattern? |
|
|
|
|
|
|
|
|
8. Can a controller class be responsible for more than one form? |
|
|
|
|
|
|
|
|
9. How does one form display another form? |
|
|
|
|
|
|
|
|
1. Create a method in each controller class to center the forms for which they are responsible. |
|
|
|
|
|
|
|
|
2. Create a class that each controller class calls in order to center the form(s) it owns. (Hint: Create a centerForm for this class. Invoke the class's centerForm method from each controller class's Initialize event.) |
|
|
|
|
|
|
|
|
3. Create a controller class for the frmCashDepositRecord form. This requires that you modify the TransactionProcessor controller class. |
|
|
|
|
|